package cn.josh.servicelmpl;

import cn.josh.bean.Ec_user;
import cn.josh.daolmpl.Ec_userDaoImpl;
import cn.josh.service.Ec_userService;

public class Ec_userServiceImpl implements Ec_userService 
{
	@Override
	public int register(Ec_user user) 
	{
		return new Ec_userDaoImpl().register(user);
	}

	@Override
	public Ec_user login(Ec_user user) 
	{
		return new Ec_userDaoImpl().login(user);
	}

}
